package com.empirica.ep;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.empirica.ep.benchmarks.ObjectWriter;


public class Performance {

	private static final Logger logger = LoggerFactory.getLogger(Performance.class);

	public void runObjectWriter() throws Exception {
		ObjectWriter objectWriter = new ObjectWriter(1000);
		objectWriter.perform(100);
	}

	public static void main(String[] args) {
		try {
			Performance performance = new Performance();
			performance.runObjectWriter();
		} catch (Exception e) {
			logger.error("Program failed", e);
		}
	}
}
